package com.yunji.base.params;

import com.yunji.common.annotation.Excel;
import com.yunji.common.base.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.user.params
 * @Title: SiteAuditParam
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-07-10 18:19:51      V1.0        HuaAo       新建类
 */
@Data
public class SiteAuditParam extends PageDTO {

    private static final long serialVersionUID = -1407497057245951246L;

    @ApiModelProperty("审核ID")
    @Excel(name = "审核ID", width = 15)
    private Long auditId;

    @ApiModelProperty("网点名称")
    @Excel(name = "网点名称", width = 15)
    @Length(message = "网点名称不能超过{max}个字符", max = 15)
    private String siteName;

    @ApiModelProperty("网点电话")
    @Excel(name = "网点电话", width = 15)
    @Length(message = "网点电话不能超过{max}个字符", max = 11)
    private String siteTel;

    @Excel(name = "审核状态 0-待审核 1-通过 2-驳回 3-取消")
    @ApiModelProperty(value = "审核状态 0-待审核 1-通过 2-驳回 3-取消")
    private Integer auditStatus;

    @Excel(name = "员工分成方式(0:免费;1:比例分成;2:固定金额;3:按年限分润)")
    @ApiModelProperty(value = "员工分成方式(0:免费;1:比例分成;2:固定金额;3:按年限分润 默认0:免费)")
    private Integer scaleType;

    @ApiModelProperty("搜索字段")
    private String searchFiled;

}